table.ADD_BLANK_RECORDS Function

Syntax

Result_Flag as L = table.add_blank_records(N Number_of_records )

Arguments

Number_of_records

The integer number of records to add.

Returns

Result_FlagLogical

.T. = Records were added. .F. = Records were not added.

Description

Adds blank records to a DBF table.

Discussion

The <TBL>.ADD_BLANK_RECORDS() method adds Num_Records of blank records to a table.

This script adds 1,000 blank records to a table.

dim t as P
t = table.open("test")
t.add_blank_records(1000)

See Also